<template>
	<view class="error_dialog" v-if="loginError" @tap="loginError = false">
		<img src="../../static/yzsb.png"></img>
	</view>
</template>

<script>
	export default {
		name: "errorPage",
		props: {},
		data() {
			return {
				loginError: false,
			};
		},
		onLoad() {

		},
		methods: {
			show(data) {
				this.loginError = true
			}
		}
	}
</script>

<style lang="scss">
	.error_dialog {
		padding-top: 30%;
		width: 100%;
		height: 100vh;
		position: fixed;
		top: 0;
		left: 0;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		background-image: url('../../static/login_bg.jpg');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: center;

		img {
			width: 640rpx;
		}
	}
</style>